package com.lark.web.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.lark.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lark.common.utils.log.annotation.FieldRemark;
import com.lark.common.utils.log.annotation.LogField;
import com.lark.common.annotation.Excel;

/**
 * 网络管理对象 network
 * @author fei
 * @email zhangfei0210@163.com
 * @date 2024-08-25
 */
@Data
public class Network extends BaseEntity<Network>
{
    private static final long serialVersionUID = 1L;

    /** 网络ID */
    @Excel(name = "网络ID")
    @LogField
    @FieldRemark(name = "网络ID",field = "networkId")
    private String networkId;

    /** 网络名称 */
    @Excel(name = "网络名称")
    @LogField
    @FieldRemark(name = "网络名称",field = "networkName")
    private String networkName;

    /** 网络模式 */
    @Excel(name = "网络模式")
    @LogField
    @FieldRemark(name = "网络模式",field = "dirver")
    private String dirver;

    /** 作用范围 */
    @Excel(name = "作用范围")
    @LogField
    @FieldRemark(name = "作用范围",field = "scope")
    private String scope;

    /** 网络创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "网络创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @LogField
    @FieldRemark(name = "网络创建时间",field = "networkCreateTime")
    private Date networkCreateTime;

    /** 网络创建时间开始 */
    private String beginNetworkCreateTime;

    /** 网络创建时间结束 */
    private String endNetworkCreateTime;

    private String ip;

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getIp() {
        return ip;
    }

    public void setNetworkId(String networkId)
    {
        this.networkId = networkId;
    }

    public String getNetworkId() 
    {
        return networkId;
    }

    public void setNetworkName(String networkName) 
    {
        this.networkName = networkName;
    }

    public String getNetworkName() 
    {
        return networkName;
    }

    public void setDirver(String dirver) 
    {
        this.dirver = dirver;
    }

    public String getDirver() 
    {
        return dirver;
    }

    public void setScope(String scope) 
    {
        this.scope = scope;
    }

    public String getScope() 
    {
        return scope;
    }

    public void setNetworkCreateTime(Date networkCreateTime) 
    {
        this.networkCreateTime = networkCreateTime;
    }

    public Date getNetworkCreateTime() 
    {
        return networkCreateTime;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("networkId", getNetworkId())
            .append("networkName", getNetworkName())
            .append("dirver", getDirver())
            .append("scope", getScope())
            .append("networkCreateTime", getNetworkCreateTime())
            .append("remark", getRemark())
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createDept", getCreateDept())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("updateIp", getUpdateIp())
            .append("version", getVersion())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
